swap$80775$ - translation to ελληνικό
DICLIB.COM
AI-based language tools
Εισάγετε μια λέξη ή φράση σε οποιαδήποτε γλώσσα 👆
Γλώσσα:     

Μετάφραση και ανάλυση λέξεων από τεχνητή νοημοσύνη

Σε αυτήν τη σελίδα μπορείτε να λάβετε μια λεπτομερή ανάλυση μιας λέξης ή μιας φράσης, η οποία δημιουργήθηκε χρησιμοποιώντας το ChatGPT, την καλύτερη τεχνολογία τεχνητής νοημοσύνης μέχρι σήμερα:

  • πώς χρησιμοποιείται η λέξη
  • συχνότητα χρήσης
  • χρησιμοποιείται πιο συχνά στον προφορικό ή γραπτό λόγο
  • επιλογές μετάφρασης λέξεων
  • παραδείγματα χρήσης (πολλές φράσεις με μετάφραση)
  • ετυμολογία

swap$80775$ - translation to ελληνικό

PROCESS OF SWAPPING DATA BETWEEN COMPUTER VARIABLES
Std::swap; Swap (computer science); Swap operation

swap      
n. ανταλαγή

Ορισμός

swap
I
n.
exchange
to make a swap for
II
v.
1) (D; tr.) to swap for (she swapped her bicycle for a hi-fi)
2) (O) I'll swap you my bicycle for your hi-fi

Βικιπαίδεια

Swap (computer programming)

In computer programming, the act of swapping two variables refers to mutually exchanging the values of the variables. Usually, this is done with the data in memory. For example, in a program, two variables may be defined thus (in pseudocode):

data_item x := 1
data_item y := 0

swap (x, y);

After swap() is performed, x will contain the value 0 and y will contain 1; their values have been exchanged. This operation may be generalized to other types of values, such as strings and aggregated data types. Comparison sorts use swaps to change the positions of data.

In many programming languages the swap function is built-in. In C++, overloads are provided allowing std::swap to exchange some large structures in O(1) time.